USE [BD_Mensageiros]
GO

IF NOT EXISTS (SELECT * FROM SYSOBJECTS WHERE XTYPE = 'U' AND NAME = 'TB_IGREJA')
CREATE TABLE [dbo].[TB_IGREJA](
	[ID] [int] IDENTITY NOT NULL,
	[TIPO_IGREJA] [char](1) NULL,
	[NOME] [varchar](70) NULL,
	[CNPJ] [varchar](14) NULL,
	[RESPONSAVEL] [varchar](70) NULL,
	[CEP] [varchar](10) NULL,
	[ENDERECO] [varchar](90) NULL,
	[BAIRRO] [varchar](90) NULL,
	[NUMERO] [varchar](5) NULL,
	[CIDADE] [varchar](90) NULL,
	[ESTADO] [varchar](2) NULL,
 CONSTRAINT [PK_TB_IGREJA] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO




